package com.ywu.service.spi.spi;

import com.ywu.common.result.CommonResult;
import com.ywu.service.spi.dto.ServiceDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "YWU-SERVICE")
public interface ServiceSpi {
    @PostMapping("/ywu/service/application.info")
    CommonResult<Object> getAllApplication(@RequestBody ServiceDto serviceDto);
}
